import request from '@/utils/request'

// 查询通关全流程业务流程模板列表
export function listMftVehicleWorkflowTemplate(query) {
  return request({
    url: '/billsdecl/mftVehicleWorkflowTemplate/list',
    method: 'get',
    params: query
  })
}

// 查询通关全流程业务流程模板详细
export function getMftVehicleWorkflowTemplate(id) {
  return request({
    url: '/billsdecl/mftVehicleWorkflowTemplate/getInfo/' + id,
    method: 'get'
  })
}

// 新增通关全流程业务流程模板
export function addMftVehicleWorkflowTemplate(data) {
  return request({
    url: '/billsdecl/mftVehicleWorkflowTemplate/add',
    method: 'post',
    data: data
  })
}

// 修改通关全流程业务流程模板
export function updateMftVehicleWorkflowTemplate(data) {
  return request({
    url: '/billsdecl/mftVehicleWorkflowTemplate/edit',
    method: 'post',
    data: data
  })
}

// 删除通关全流程业务流程模板
export function delMftVehicleWorkflowTemplate(id) {
  return request({
    url: '/billsdecl/mftVehicleWorkflowTemplate/remove/' + id,
    method: 'get'
  })
}

// 导出通关全流程业务流程模板
export function exportMftVehicleWorkflowTemplate(query) {
  return request({
    url: '/billsdecl/mftVehicleWorkflowTemplate/export',
    method: 'get',
    params: query
  })
}
